/**
 * Created by lvlq on 16/2/27.
 */
var code = "0835451787531745,http://bc.zhsh.co/?2083545178753174555aad00";
var soap = require('soap');
var url = 'http://shelltac.yesno.com.cn/CcnOutService.asmx?wsdl';
console.log({
    "userID": "AL83L90L9L29DK9K525A222D211D222D",
    "userPwd": "88OKIKJ89K290KDBBZJ19KYRQ0S0O1S1",
    "ip": "192.168.1.101",
    "acCode": code.split("?")[1].substr(1, 16),
    "language": "zh-cn",
    "channel": "21"
});
soap.createClient(url, function (err, client) {
    client.Get_AcCodeInterface({
        "userID": "AL83L90L9L29DK9K525A222D211D222D",
        "userPwd": "88OKIKJ89K290KDBBZJ19KYRQ0S0O1S1",
        "ip": "192.168.1.101",
        "acCode": code.split("?")[1].substr(1, 16),
        "language": "zh-cn",
        "channel": "21"
    }, function (err, result) {
        console.log(result);
    });
});